package org.arrow.tap.services;

import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.ioc.Configuration;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.ioc.annotations.Inject;

public class AppModule {
	
//	@Inject
//	private static GeminiDAO geminiDao;
	
	public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) {
		configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
		
//		try {
//			int size=geminiDao.getLogNodes().size();
//			System.out.println("hello"+size);
//		} catch (DaoException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		
	}
	
    public static void contributeIgnoredPathsFilter(Configuration<String> configuration){
//    	configuration.add("/index/*");
    	configuration.add(".html");
    }   
}
